package com.any.hook.write.dmwrite;


import com.any.hook.common.exception.ErrorCode;

public enum DmWriterErrorCode implements ErrorCode {
    ;

    private final String code;
    private final String describe;

    private DmWriterErrorCode(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDescription() {
        return this.describe;
    }

    @Override
    public String toString() {
        return String.format("Code:[%s], Describe:[%s]. ", this.code,
                this.describe);
    }
}
